package org.example.dao;

import org.example.domain.Department;

import java.util.List;

public interface DepartmentDao {
    public Department findDeptById(Integer deptId);

    public List<Department> findDeptAll();

    public void addDept(Department department);

    public void delDept(Integer deptId);

    public void updateDept(Department department);
}
